Mounted cache memory in a multi-core processor (mcp)

ABSTRACT

Specifically, under the present invention an available on-chip memory is coupled to another logic core or memory (e.g., cache) unit using a set of cache managers. Specifically, each cache manager is coupled to the input and output of a cache memory unit. This allows the assigned memory to become an extension of the same level cache, next level cache memory, or memory buffer. This also allows the recovery of a memory block whose logic core is not operational, and is used to improve cache memory performance of the system. It should be understood in advance the teachings herein are typically applied to a Multi-Core Processor (MCP), although this need not be the case

CROSS-REFERENCE TO RELATED APPLICATIONS

This application is related in some aspects to commonly owned and co-pending docket no. END920080412US1, entitled “Charge Transfer for Digital Circuits,” filed Nov. 21, 2008, the entire contents of which are herein incorporated by reference. This application is also related in some aspects to commonly owned and co-pending docket no. END920080397US1, entitled “Cache Memory Sharing in a Multi-Core Processor (MCP),” filed Nov. 21, 2008, the entire contents of which are herein incorporated by reference. This application is also related in some aspects to commonly owned and co-pending docket no. END920080398US1, entitled “Pseudo Cache Memory in a Multi-Core Processor (MCP),” filed Nov. 21, 2008, the entire contents of which are herein incorporated by reference. This application is also related in some aspects to commonly owned and co-pending docket no. END920080399US1, entitled “Cache Memory Bypass in a Multi-Core Processor (MCP),” filed Nov. 21, 2008, the entire contents of which are herein incorporated by reference.

FIELD OF THE INVENTION

The preset invention generally relates to multi-core processors (MCP). Specifically, the present invention relates to mounted cache memory virtualization in a MCP.

BACKGROUND OF THE INVENTION

Multi-Core Processor (MCP) with hierarchical architecture is a trend for state-of-the-art digital system. Typically, MCPs are implemented with aggressively scaled nanometer CMOS technologies to have high device density and multi-core design. On the other hand, yield failure is caused by the process variability and defects in nanometer CMOS manufacturing. With the hierarchical architecture, a partial failure causes extensive damage to the components in the tree hierarchy and architecture. Therefore, system design and operation methods to salvage operational component blocks are essential to improve product yield as well as to increase the reliability.

SUMMARY OF THE INVENTION

This disclosure describes an apparatus, computer architecture, memory structure, memory control, and cache memory operation method for multi-core processor. Specifically, under the present invention an available on-chip memory is coupled to another logic core or memory (e.g., cache) unit using a set of cache managers. Specifically, each cache manager is coupled to the input and output of a cache memory unit. This allows the assigned memory to become an extension of the same level cache, next level cache memory, or memory buffer. This also allows the recovery a memory block whose logic core is not operational, and is used to improve cache memory performance of the system.

A first aspect of the present invention provides a mounted memory system, comprising: a first memory unit mounted on a bus; a first cache manager coupled to an input and an output of the first memory unit; a second memory unit mounted on the bus; and a second cache manager coupled to an input and an output of the second memory unit, the first memory unit and the second memory unit being adapted to receive and send communications via the first cache manager and the second cache manager.

A second aspect of the present invention provides a mounted cache system, comprising: a first cache memory unit mounted on a bus; a first cache manager coupled to an input and an output of the first cache memory unit; a first set of sub-cache memory units coupled to the first cache manager; and a second cache memory unit mounted on the bus; a second cache manager coupled to an input and an output of the second cache memory unit; a second set of sub-cache memory units coupled to the second cache manager, the first cache memory unit and the second cache memory unit being adapted to receive and send communications via the first cache manager and the second cache manager.

A third aspect of the present invention provides a mounted cache memory method, comprising: issuing a first request to a first cache memory unit coupled to a bus, the first request being received by the first cache memory unit via a first cache manager coupled to an input and an output of the first cache memory unit; and issuing a second request from the first cache memory unit to a second cache memory unit coupled to the bus, the second request being received by the second cache memory unit via a second cache manager coupled to an input and an output of the second cache memory unit.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other features of this invention will be more readily understood from the following detailed description of the various aspects of the invention taken in conjunction with the accompanying drawings in which:

FIG. 1 depicts a mounted cache memory system, according to the present invention.

FIG. 2 depicts a progression of events involved with processing requests using the mounted cache memory system of FIG. 1, according to one example of the present invention.

FIG. 3 depicts a method flow diagram pertaining to the example of FIG. 2, according to one example of the present invention.

It should be understood that the drawings are not necessarily to scale. The drawings are merely schematic representations, not intended to portray specific parameters of the invention. The drawings are intended to depict only typical embodiments of the invention, and therefore should not be considered as limiting the scope of the invention. In the drawings, like numbering represents like elements.

DETAILED DESCRIPTION OF THE INVENTION

For convenience, the Detailed Description of the Invention has the following sections:

I. General Description

II. Illustrative Example

I. GENERAL DESCRIPTION

As indicated above, this disclosure describes an apparatus, computer architecture, memory structure, memory control, and cache memory operation method for multi-core processor. Specifically, under the present invention an available on-chip memory is coupled to another logic core or memory (e.g., cache) unit using a set of cache managers. Specifically, each cache manager is coupled to the input and output of a cache memory unit. This allows the assigned memory to become an extension of the same level cache, next level cache memory, or memory buffer. This also allows the recovery of a memory block whose logic core is not operational, and is used to improve cache memory performance of the system. It should be understood in advance the teachings herein are typically applied to a Multi-Core Processor (MCP), although this need not be the case. In addition, it should be understood although this disclosure discusses memory units as being (virtual) cache or sub-cache memory units, this is only one example of the way in which in the teachings recited herein could be implemented. As such, it should be understood that these teachings could be implemented in conjunction with any type of memory now known or later developed.

Multi-Core Processor (MCP) with a hierarchical architecture is a trend for state-of-the-art digital system. Such implementations are typically implemented with aggressively scaled nanometer CMOS technologies to have high device density and multi-core design. On the other hand, yield failure is caused by the process variability and defects in nanometer CMOS manufacturing. With the hierarchical architecture, a partial failure causes extensive damage to the components in the tree hierarchy and architecture. The present invention improves the yield and the reliability of the MCP. This design includes architecture, memory structure, memory control, and cache memory operation method.

State-of-the-art digital systems employ a multi-core processor architecture. They are arranged hierarchically for efficient operation and computation management and design scalability. Since they assume that all the components in the hierarchy are sound, one slight failure would cause catastrophic failure of the remaining components in the tree architecture. The present invention addresses the case where a memory block is intact, but the logic components are damaged in the course of manufacturing, aging, and other reasons. In conventional designs, all the components in the hierarchy and tree are abandoned, which it results in very expensive losses in MCP products. The invention proposes to reuse the operational memory block, by mounting the memory to other functional blocks, such as digital logic core or other memory block. Moreover, the reuse of mounted cache memory units improves chip performance and resilience to manufacturing defects. The method can be applied to many different levels of on-chip cache memory.

Referring now to FIG. 1, a mounted cache memory system 10 according to the present invention is shown. As depicted, system 10 includes a main controller 12, a bus 14, a set (at least one) of cache memory units 16A-N coupled to bus 14, a set (at least one) of sub-cache memory units 20A-N coupled to set of cache memory units 16A-N, and a set (at least one) of sub-processing elements 22A-N coupled to sub-cache memory units 20A-N. Also shown in FIG. 1 is a set of cache managers 18A-N. As depicted, each cache manager 18A-N is coupled to an input 24A-N and an output 26A-N of a cache memory unit 16A-N.

Cache managers 18A-N foster communication among the components of FIG. 1. One type of such communication is memory requests. This can be especially useful when one memory unit “misses” or fails to satisfy the request, another memory unit (vertically within the hierarchy or adjacent) can be so requested. The cache memory mounting operation is done by finding dead logic and live memory in the MCP. Any live memory block with dead logic core can be dedicated to another memory or logic core, as a cache or a memory buffer. It does not have to be one-to-one relationship. A main controller at the top hierarchy manages mounting process, by performing diagnosis on memories and cores. Cache managers 18A-N receive (1) normal cache, (2) mounting or (3) being mounted instructions from the main controller. Main controller 12 communicates with cache managers 18A-N through bus 14. Cache managers 18A-N remember their status, and performs following cache operation steps.

II. ILLUSTRATIVE EXAMPLE

FIGS. 2 and 3 (FIG. 3 utilizes the symbols shown in FIG. 2 as opposed to reference numerals) show a progression of events for such an example. Under this example, the right side group is assumed as non-operational, due to failures in processing elements. As shown, sub processing element 22A sends a request to sub-cache memory unit 20A for memory content, which sub-cache memory unit 20A cannot fulfill (cache miss). In response, sub-cache memory unit 20A sends a request to cache memory unit 16A. The request is initially received by cache manager 18A and fed to input 26A of cache memory unit 16A. In addition, cache manager 18N forwards a duplicate request to of cache memory unit 16N. Similarly, this request is initially received by cache manager 18N, which redirects the request to the input 24A of cache memory unit. Due to its proximity, cache memory unit 16A responds to sub-cache memory unit 20A (via cache manager 16A) first, either cache hit or miss. If it is a hit, no further operation is needed and the following responses and operations can be ignored: Cache memory unit 16N responds to sub-cache memory unit 20A with either a cache hit or miss. If it is a hit, no further operation is needed and the following responses and operations can be ignored. If both cache memory units 16A-B miss the memory address, both can generate a new cache memory unit (usually external memory on board).

The foregoing description of various aspects of the invention has been presented for purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form disclosed, and obviously, many modifications and variations are possible. Such modifications and variations that may be apparent to a person skilled in the art are intended to be included within the scope of the invention as defined by the accompanying claims. 

1. A mounted memory system, comprising: a first memory unit mounted on a bus; a first cache manager coupled to an input and an output of the first memory unit; a second memory unit mounted on the bus; and a second cache manager coupled to an input and an output of the second memory unit, the first memory unit and the second memory unit being adapted to receive and send communications via the first cache manager and the second cache manager.
 2. The mounted memory system of claim 1, the first memory unit and the second memory unit comprising virtualized cache memory units.
 3. The mounted memory system of claim 1, further comprising: a first set of sub-memory units coupled to the first cache manager; and a first set of sub-processing elements coupled to the first set of sub-memory units.
 4. The mounted memory system of claim 3, the first memory unit being adapted to receive a request from any of the first set of sub-memory units via the first cache manager.
 5. The mounted memory system of claim 4, the first memory unit being further adapted to forward the request to the second memory unit via the first cache manager and the second cache manager.
 6. The mounted memory system of claim 3, further comprising: a second set of sub-memory units coupled to the second cache manager; and a second set of sub-processing elements coupled to the second set of sub-memory units.
 7. The mounted memory system of claim 6, the second memory unit being adapted to receive a request from any of the second set of sub-memory units via the second cache manager.
 8. The mounted memory system of claim 7, the second memory unit being further adapted to forward the request to the first memory unit via the second cache manager and the first cache manager.
 9. The mounted memory system of claim 1, the bus being coupled to a main controller.
 10. A mounted cache system, comprising: a first cache memory unit mounted on a bus; a first cache manager coupled to an input and an output of the first cache memory unit; a first set of sub-cache memory units coupled to the first cache manager; a second cache memory unit mounted on the bus; a second cache manager coupled to an input and an output of the second cache memory unit; and a second set of sub-cache memory units coupled to the second cache manager, the first cache memory unit and the second cache memory unit being adapted to receive and send communications via the first cache manager and the second cache manager.
 11. The mounted cache system of claim 10, further comprising a first set of sub-processing elements coupled to the first set of sub-cache memory units.
 12. The mounted cache system of claim 11, the first cache memory unit being adapted to receive a request from any of the first set of sub-cache memory units via the first cache manager.
 13. The mounted cache system of claim 12, the first cache memory unit being further adapted to forward the request to the second cache memory unit via the first cache manager and the second cache manager.
 14. The mounted cache system of claim 10, further comprising a second set of sub-processing elements coupled to the second set of sub-cache memory units.
 15. The mounted cache system of claim 14, the second cache memory unit being adapted to receive a request from any of the second set of sub-cache memory units via the second cache manager.
 16. The mounted cache system of claim 15, the second cache memory unit being further adapted to forward the request to the first cache memory unit via the second cache manager and the first cache manager.
 17. The mounted cache system of claim 10, the bus being coupled to a main controller.
 18. A mounted cache memory method, comprising: issuing a first request to a first cache memory unit coupled to a bus, the first request being received by the first cache memory unit via a first cache manager coupled to an input and an output of the first cache memory unit; and issuing a second request from the first cache memory unit to a second cache memory unit coupled to the bus, the second request being received by the second cache memory unit via a second cache manager coupled to an input and an output of the second cache memory unit.
 19. The mounted cache memory method of claim 17, the first request being received from a first set of sub-cache memory units coupled to the first cache memory unit.
 20. The mounted cache memory method of claim 17, the second request being issues pursuant to a failure by the first cache memory unit to fulfill the first search request. 